package nl.infodation.emr.pricingservice.controller;

import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

import nl.infodation.emr.pricingservice.entity.SystemValueRole;

import com.googlecode.genericdao.search.ExampleOptions;

public class SystemValueRoleController extends
		AbstractBaseController<SystemValueRole, SystemValueRole, Integer> {

	@Override
	protected Boolean isObject(Field field) {
		return Boolean.FALSE;
	}

	@Override
	protected SystemValueRole buildCriteria(SystemValueRole search) {
		return search;
	}

	@Override
	protected int getLikeMode() {
		return ExampleOptions.EXACT;
	}

	@Override
	protected Collection<String> getExcludeProps() {
		List<String> excludeProps = new ArrayList<String>();
		excludeProps.add("validFrom");
		excludeProps.add("validTo");
		return excludeProps;
	}

}
